//
//  UIView+Convenience.h
//  QiaoRongJinFu
//
//  Created by JuFan  on 2017/2/15.
//  Copyright © 2017年 JuFan. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Convenience)

- (CGFloat)width;
- (CGFloat)height;
- (CGFloat)minX;
- (CGFloat)midX;
- (CGFloat)maxX;
- (CGFloat)minY;
- (CGFloat)midY;
- (CGFloat)maxY;
//头部高度
@property (nonatomic, assign, readonly)CGFloat topH;
//底部高度
@property (nonatomic, assign, readonly)CGFloat bottemH;

@end
